package com.sh.data.engine.application.model.dto.integration;

import com.sh.data.engine.domain.shims.db.model.TableInfoDomain;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema
public class FlinkTableResponse {

    /**
     * 表名`
     */
    @Schema(description = "表名或者视图名")
    private String tableName;

    /**
     * 表类型
     */
    @Schema(description = "0-表 1-视图")
    private TableInfoDomain.TblType tblType;

    @Schema(description = "schema")
    private String schema;

}
